def query_score(scores,name):
    return scores.get(name,"查无此人")

scores = {'张三': 85, '李四': 92, '王五': 77}
print(query_score(scores,'李四'))
print(query_score(scores,'赵六'))